package com.open.generate.model;

/**
 * 表字段类
 *
 * @ClassName: ColumnData
 */
public class ColumnData {
    //列名称
    private String columnName;
    //列类型 数据库类型
    private String dataType;
    //列说明
    private String columnComment;
    //列对应的属性名
    private String propertyName;
    //JDBC数据库类型
    private String jdbcType;
    //是否自增
    private Boolean auto = false;
    //是否必须
    private Boolean required = false;
    //主键get方法
    private String pkget;

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getColumnComment() {
        return columnComment;
    }

    public void setColumnComment(String columnComment) {
        this.columnComment = columnComment;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getJdbcType() {
        return jdbcType;
    }

    public void setJdbcType(String jdbcType) {
        this.jdbcType = jdbcType;
    }

    public Boolean getAuto() {
        return auto;
    }

    public void setAuto(Boolean auto) {
        this.auto = auto;
    }

    public String getPkget() {
        return pkget;
    }

    public void setPkget(String pkget) {
        this.pkget = pkget;
    }

    public Boolean getRequired() {
        return required;
    }

    public void setRequired(Boolean required) {
        this.required = required;
    }
}